package com.ruoyi.trace.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 溯源仪-企业指纹库对象 BUS_TRACE_FIRMFINGER
 * 
 * @author ruoyi
 * @date 2025-09-26
 */
public class BusTraceFirmfinger extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private String id;

    /** 样本名称 */
    @Excel(name = "样本名称")
    private String samplename;

    /** 设备名称 关联设备编号 */
    @Excel(name = "设备id 关联设备编号")
    private String traceid;

    //设备名称
    private String tracename;

    /** 检测时间 */
    @Excel(name = "检测时间")
    private String detectiontime;

    /** 峰值 */
    @Excel(name = "峰值")
    private String peakvalue;

    /** 所属企业（采样点） */
    @Excel(name = "所属企业id", readConverterExp = "采=样点")
    private String tradefinger;

    /**
     * 企业名称
     */
    private String tradefingername;

    /** 所属行业 数据字典（industry_type） */
    @Excel(name = "所属行业 数据字典", readConverterExp = "i=ndustry_type")
    private String industrytype;

    private String industrytypename;

    /** 法人 */
    @Excel(name = "法人")
    private String legalperson;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contacts;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String phone;

    private Date createtime;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setSamplename(String samplename) 
    {
        this.samplename = samplename;
    }

    public String getSamplename() 
    {
        return samplename;
    }

    public void setTraceid(String traceid) 
    {
        this.traceid = traceid;
    }

    public String getTraceid() 
    {
        return traceid;
    }

    public void setDetectiontime(String detectiontime) 
    {
        this.detectiontime = detectiontime;
    }

    public String getDetectiontime() 
    {
        return detectiontime;
    }

    public void setPeakvalue(String peakvalue) 
    {
        this.peakvalue = peakvalue;
    }

    public String getPeakvalue() 
    {
        return peakvalue;
    }

    public void setTradefinger(String tradefinger) 
    {
        this.tradefinger = tradefinger;
    }

    public String getTradefinger() 
    {
        return tradefinger;
    }

    public void setIndustrytype(String industrytype) 
    {
        this.industrytype = industrytype;
    }

    public String getIndustrytype() 
    {
        return industrytype;
    }

    public void setLegalperson(String legalperson) 
    {
        this.legalperson = legalperson;
    }

    public String getLegalperson() 
    {
        return legalperson;
    }

    public void setContacts(String contacts) 
    {
        this.contacts = contacts;
    }

    public String getContacts() 
    {
        return contacts;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getTracename() {
        return tracename;
    }

    public void setTracename(String tracename) {
        this.tracename = tracename;
    }

    public String getTradefingername() {
        return tradefingername;
    }

    public void setTradefingername(String tradefingername) {
        this.tradefingername = tradefingername;
    }

    public String getIndustrytypename() {
        return industrytypename;
    }

    public void setIndustrytypename(String industrytypename) {
        this.industrytypename = industrytypename;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("samplename", getSamplename())
            .append("traceid", getTraceid())
            .append("detectiontime", getDetectiontime())
            .append("peakvalue", getPeakvalue())
            .append("tradefinger", getTradefinger())
            .append("industrytype", getIndustrytype())
            .append("legalperson", getLegalperson())
            .append("contacts", getContacts())
            .append("phone", getPhone())
            .toString();
    }
}
